package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmMaterialDto;
import com.heima.model.wemedia.pojos.WmMaterial;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;


/**
 * <p>
 * 自媒体图文素材信息表 服务类
 * </p>
 *
 * @author kk
 */
public interface MaterialService extends IService<WmMaterial> {
    //图片上传
    ResponseResult uploadPicture(MultipartFile multipartFile) throws IOException;

    //素材列表查询
    ResponseResult findList( WmMaterialDto dto);
}
